from person import singleton_person


singleton_person1 = singleton_person
singleton_person2 = singleton_person

print(id(singleton_person1))
print(id(singleton_person2))

if singleton_person1 is singleton_person2:
    print("Singleton works, both variables contain the same instance.")
else:
    print("Singleton failed, variables contain different instances.")